import request from '@/config/axios'

export type ApiInfoDTO = {
  id: string
  name: string
  type: string
  parentId: string
  path: string
  fullPath: string
  fullDir: string
  method: string
  leaf: boolean
}


// 获取maigic-api接口
export const getApiList = async () => {
  return await request.get({ url: '/bpm/magicApi/getApiList'})
}
